<script type="text/javascript" language="javascript">
(function($) {
/*whatever jQuery stuff*/
	$(function(){	
		//colorbox
		$('.inline').colorbox({inline:true,width:"725px"});
	});	
})(jQuery);	

function showPicture(e)
{
	$(e).parent().parent().find('.showPicture').attr('src',$(e).attr('href'));
	setTimeout(function(){$.colorbox.resize()},100);
	return false;
}
</script>
<div class="wrap_content">
	<div id="picture">
	<!--Left Side-->
		<div class="leftPicture">
			<!--Photo Block-->
			<div class="pictureBlock">
				<div class="pictureBlockHeader"></div>
				<ul>				
					<li class="first">
						<a href="#inline_vdo9" class="inline">
							<?php echo image_asset($asset_award_image_path.'picture_gallery09.jpg','',array('width' => 216,'height' => 135));?>
							<p class="bold">
								รวมภาพบรรยากาศ Red Carpet งาน You2play Awards 2013
							</p>
						</a>
						<!--Export Vdo-->
						<div style="display:none">
							<div style="padding:10px; background:#fff;" id="inline_vdo9">
								<?php if(!empty($dataGallery09)):?>
									<?php $num = 0;?>
									<?php foreach($dataGallery09 as $key => $value):?>
										<?php if($value=="data.xml") continue;?>
										<?php if($num==0):?>
										<?php echo image_asset($folderGallery09.'/'.$value,'',array('width' => 700,'class' => 'showPicture'));?>
										<div class="nivo-controlNav">
										<?php endif;?>	
										<a rel="group1" href="<?php echo image_asset_url($folderGallery09.'/'.$value);?>" onclick="javascript:return showPicture(this);"><?php echo ($num+1);?></a>
										<?php $num++;?>
									<?php endforeach;?>
										</div>
								<?php endif;?>
							</div>
						</div>						
					</li>				
					<li>
						<a href="#inline_vdo8" class="inline">
							<?php echo image_asset($asset_award_image_path.'picture_gallery08.jpg','',array('width' => 216,'height' => 135));?>
							<p class="bold">
								รวมภาพโชว์ในงาน You2play Awards 2013
							</p>
						</a>
						<!--Export Vdo-->
						<div style="display:none">
							<div style="padding:10px; background:#fff;" id="inline_vdo8">
								<?php if(!empty($dataGallery08)):?>
									<?php $num = 0;?>
									<?php foreach($dataGallery08 as $key => $value):?>
										<?php if($value=="data.xml") continue;?>
										<?php if($num==0):?>
										<?php echo image_asset($folderGallery08.'/'.$value,'',array('width' => 700,'class' => 'showPicture'));?>
										<div class="nivo-controlNav">
										<?php endif;?>	
										<a rel="group1" href="<?php echo image_asset_url($folderGallery08.'/'.$value);?>" onclick="javascript:return showPicture(this);"><?php echo ($num+1);?></a>
										<?php $num++;?>
									<?php endforeach;?>
										</div>
								<?php endif;?>
							</div>
						</div>						
					</li>
					<li class="first">
						<a href="#inline_vdo7" class="inline">
							<?php echo image_asset($asset_award_image_path.'picture_gallery07.jpg','',array('width' => 216,'height' => 135));?>
							<p class="bold">
								รวมภาพบรรยากาศงาน You2play Awards โดยรอบ
							</p>
						</a>
						<!--Export Vdo-->
						<div style="display:none">
							<div style="padding:10px; background:#fff;" id="inline_vdo7">
								<?php if(!empty($dataGallery07)):?>
									<?php $num = 0;?>
									<?php foreach($dataGallery07 as $key => $value):?>
										<?php if($value=="data.xml") continue;?>
										<?php if($num==0):?>
										<?php echo image_asset($folderGallery07.'/'.$value,'',array('width' => 700,'class' => 'showPicture'));?>
										<div class="nivo-controlNav">
										<?php endif;?>	
										<a rel="group1" href="<?php echo image_asset_url($folderGallery07.'/'.$value);?>" onclick="javascript:return showPicture(this);"><?php echo ($num+1);?></a>
										<?php $num++;?>
									<?php endforeach;?>
										</div>
								<?php endif;?>
							</div>
						</div>						
					</li>				
					<li>
						<a href="#inline_vdo6" class="inline">
							<?php echo image_asset($asset_award_image_path.'picture_gallery06.jpg','',array('width' => 216,'height' => 135));?>
							<p class="bold">
								รวมภาพไฮไลต์งาน You2play Awards 2013
							</p>
						</a>
						<!--Export Vdo-->
						<div style="display:none">
							<div style="padding:10px; background:#fff;" id="inline_vdo6">
								<?php if(!empty($dataGallery06)):?>
									<?php $num = 0;?>
									<?php foreach($dataGallery06 as $key => $value):?>
										<?php if($value=="data.xml") continue;?>
										<?php if($num==0):?>
										<?php echo image_asset($folderGallery06.'/'.$value,'',array('width' => 700,'class' => 'showPicture'));?>
										<div class="nivo-controlNav">
										<?php endif;?>	
										<a rel="group1" href="<?php echo image_asset_url($folderGallery06.'/'.$value);?>" onclick="javascript:return showPicture(this);"><?php echo ($num+1);?></a>
										<?php $num++;?>
									<?php endforeach;?>
										</div>
								<?php endif;?>
							</div>
						</div>						
					</li>				
					<li class="first">
						<a href="#inline_vdo5" class="inline">
							<?php echo image_asset($asset_award_image_path.'picture_gallery05.jpg','',array('width' => 216,'height' => 135));?>
							<p class="bold">
								“ชินทาโร่ และ เซบะ” สองหนุ่มหล่อจากญี่ปุ่น
							</p>
						</a>
						<!--Export Vdo-->
						<div style="display:none">
							<div style="padding:10px; background:#fff;" id="inline_vdo5">
								<?php if(!empty($dataGallery05)):?>
									<?php $num = 0;?>
									<?php foreach($dataGallery05 as $key => $value):?>
										<?php if($value=="data.xml") continue;?>
										<?php if($num==0):?>
										<?php echo image_asset($folderGallery05.'/'.$value,'',array('width' => 700,'class' => 'showPicture'));?>
										<div class="nivo-controlNav">
										<?php endif;?>	
										<a rel="group1" href="<?php echo image_asset_url($folderGallery05.'/'.$value);?>" onclick="javascript:return showPicture(this);"><?php echo ($num+1);?></a>
										<?php $num++;?>
									<?php endforeach;?>
										</div>
								<?php endif;?>
							</div>
						</div>						
					</li>				
					<li>
						<a href="#inline_vdo4" class="inline">
							<?php echo image_asset($asset_award_image_path.'picture_gallery04.jpg','',array('width' => 216,'height' => 135));?>
							<p class="bold">
								You2play Awards 2013 Celebrity Host
							</p>
						</a>
						<!--Export Vdo-->
						<div style="display:none">
							<div style="padding:10px; background:#fff;" id="inline_vdo4">
								<?php if(!empty($dataGallery04)):?>
									<?php $num = 0;?>
									<?php foreach($dataGallery04 as $key => $value):?>
										<?php if($value=="data.xml") continue;?>
										<?php if($num==0):?>
										<?php echo image_asset($folderGallery04.'/'.$value,'',array('width' => 700,'class' => 'showPicture'));?>
										<div class="nivo-controlNav">
										<?php endif;?>	
										<a rel="group1" href="<?php echo image_asset_url($folderGallery04.'/'.$value);?>" onclick="javascript:return showPicture(this);"><?php echo ($num+1);?></a>
										<?php $num++;?>
									<?php endforeach;?>
										</div>
								<?php endif;?>
							</div>
						</div>						
					</li>				
					<li class="first">
						<a href="#inline_vdo1" class="inline">
							<?php echo image_asset($asset_award_image_path.'picture_gallery01.jpg','',array('width' => 216,'height' => 135));?>
							<p class="bold">
								You2PlayAwards 2011 / Red Carpet
							</p>
						</a>
						<!--Export Vdo-->
						<div style="display:none">
							<div style="padding:10px; background:#fff;" id="inline_vdo1">
								<?php if(!empty($dataGallery01)):?>
									<?php $num = 0;?>
									<?php foreach($dataGallery01 as $key => $value):?>
										<?php if($value=="data.xml") continue;?>
										<?php if($num==0):?>
										<?php echo image_asset($folderGallery01.'/'.$value,'',array('width' => 700,'class' => 'showPicture'));?>
										<div class="nivo-controlNav">
										<?php endif;?>	
										<a rel="group1" href="<?php echo image_asset_url($folderGallery01.'/'.$value);?>" onclick="javascript:return showPicture(this);"><?php echo ($num+1);?></a>
										<?php $num++;?>
									<?php endforeach;?>
										</div>
								<?php endif;?>
							</div>
						</div>						
					</li>
					<li>
						<a href="#inline_vdo2" class="inline">
							<?php echo image_asset($asset_award_image_path.'picture_gallery02.jpg','',array('width' => 216,'height' => 135));?>
							<p class="bold">
								You2PlayAwards 2011 / โชว์
							</p>
						</a>
						<!--Export Vdo-->
						<div style="display:none">
							<div style="padding:10px; background:#fff;" id="inline_vdo2">
								<?php if(!empty($dataGallery02)):?>
									<?php $num = 0;?>
									<?php foreach($dataGallery02 as $key => $value):?>
										<?php if($value=="data.xml") continue;?>
										<?php if($num==0):?>
										<?php echo image_asset($folderGallery02.'/'.$value,'',array('width' => 700,'class' => 'showPicture'));?>
										<div class="nivo-controlNav">
										<?php endif;?>	
										<a rel="group1" href="<?php echo image_asset_url($folderGallery02.'/'.$value);?>" onclick="javascript:return showPicture(this);"><?php echo ($num+1);?></a>
										<?php $num++;?>
									<?php endforeach;?>
										</div>
								<?php endif;?>
							</div>
						</div>						
					</li>
					<li class="first">
						<a href="#inline_vdo3" class="inline">
							<?php echo image_asset($asset_award_image_path.'picture_gallery03.jpg','',array('width' => 216,'height' => 135));?>
							<p class="bold">
								You2PlayAwards 2011 / ศิลปินที่ได้รับรางวัล
							</p>
						</a>
						<!--Export Vdo-->
						<div style="display:none">
							<div style="padding:10px; background:#fff;" id="inline_vdo3">
								<?php if(!empty($dataGallery03)):?>
									<?php $num = 0;?>
									<?php foreach($dataGallery03 as $key => $value):?>
										<?php if($value=="data.xml") continue;?>
										<?php if($num==0):?>
										<?php echo image_asset($folderGallery03.'/'.$value,'',array('width' => 700,'class' => 'showPicture'));?>
										<div class="nivo-controlNav">
										<?php endif;?>	
										<a rel="group1" href="<?php echo image_asset_url($folderGallery03.'/'.$value);?>" onclick="javascript:return showPicture(this);"><?php echo ($num+1);?></a>
										<?php $num++;?>
									<?php endforeach;?>
										</div>
								<?php endif;?>
							</div>
						</div>						
					</li>									
				</ul>
				<div class="clear"></div>
			</div>
			<!--Ment Block-->
<!--			<a href="<?php echo $award_url."award/ment";?>"><?php echo image_asset($asset_award_image_path.'left_ment_bg.png','',array('width' => 595,'height' => 150));?></a>-->
		</div>
	<!--Right Side-->
		<div class="rightPicture">
			<!--Vote Block-->
			<div id="rightVotePanel">
				<div class="rightVotePanelHeader"></div>
				<ul>
					<li>
						<a href="<?php echo $award_url.'vote#cat01';?>">
							<h3 class="white bold">Favorite Male Artist</h3>
							<div class="yellow bold">ศิลปินชายยอดนิยม</div>
						</a>
					</li>
					<li>
						<a href="<?php echo $award_url.'vote#cat02';?>">
							<h3 class="white bold">Favorite Female Artist</h3>
							<div class="yellow bold">ศิลปินหญิงยอดนิยม</div>
						</a>
					</li>
					<li>
						<a href="<?php echo $award_url.'vote#cat03';?>">
							<h3 class="white bold">Favorite New Artist</h3>
							<div class="yellow bold">ศิลปินหน้าใหม่ยอดนิยม</div>
						</a>
					</li>
					<li>
						<a href="<?php echo $award_url.'vote#cat04';?>">
							<h3 class="white bold">Favorite Teen Pop Artist</h3>
							<div class="yellow bold">ศิลปิน Teen Pop ยอดนิยม</div>
						</a>
					</li>
					<li>
						<a href="<?php echo $award_url.'vote#cat05';?>">
							<h3 class="white bold">Favorite Duo / Group Artist</h3>
							<div class="yellow bold">ศิลปินคู่หรือกลุ่มยอดนิยม</div>
						</a>
					</li>
					<li>	
						<a href="<?php echo $award_url.'vote#cat06';?>">
							<h3 class="white bold">Favorite Thai Music Video</h3>
							<div class="yellow bold">Music Video เพลงไทยยอดนิยม</div>
						</a>
					</li>
					<li>	
						<a href="<?php echo $award_url.'vote#cat07';?>">
							<h3 class="white bold">Favorite Asian Artist</h3>
							<div class="yellow bold">ศิลปินเอเชียยอดนิม</div>
						</a>
					</li>
					<li>	
						<a href="<?php echo $award_url.'vote#cat08';?>">
							<h3 class="white bold">Favorite Asian Music Video</h3>
							<div class="yellow bold">Music Video เพลงเอเชียนยอดนิยม</div>
						</a>
					</li>
					<li>	
						<a href="<?php echo $award_url.'vote#cat09';?>">
							<h3 class="white bold">Favorite International Artist</h3>
							<div class="yellow bold">ศิลปิน International ยอดนิยม</div>
						</a>
					</li>
					<li>	
						<a href="<?php echo $award_url.'vote#cat10';?>">
							<h3 class="white bold">Favorite International Music Video</h3>
							<div class="yellow bold">Music Video เพลง International ยอดนิยม</div>
						</a>
					</li>
				</ul>
			</div>			
			<!--Show Block-->
<!--			<div id="rightShowPanel">
				<a href="<?php echo $award_url."award/show";?>">&nbsp;</a>
			</div>-->
		</div>
	</div>
	<!--Sponser2-->
	<?php echo CI('module_sponser2');?>
</div>